import BaseCURDApi from '@/framework/infra/base/BaseCURDApi'

class MerchantApi extends BaseCURDApi {
  constructor() {
    super('mms/merchant')
  }

  resetPassword(id) {
    return this.post('reset-password', {
      id
    })
  }
  allOptions() {
    return this.get('all-options')
  }
}

export const merchantApi = new MerchantApi()
